<label for="post_title">Заголовок</label><br/>
<%= form.text_field :title %><br/>

<% block_form :width=>550 do %>
  <% fields_for "post[page_header]", @post.header || Header.new do |h| %>
    <%= h.label :title %><br/>
    <%= h.text_field :title, :class=>"text" %><br/>

    <%= h.label :keywords %><br/>
    <%= h.text_field :keywords, :class=>"text" %><br/>

    <%= h.label :description %><br/>
    <%= h.text_area :description, :cols=>70, :rows=>5 %><br/>
  <% end %>
<% end %>

<%= form.check_box :is_visible %> <label for="post_is_visible">Visible ?</label><br/>

<label for="post_title">Категория</label><br/>
<%= form.collection_select :category_id, Category.dynamic, :id, :title, {:include_blank=>true}, {:style=>"width:150px;"} %><br/>

<label for="post_content">Содержимое</label><br/>
<%= fckeditor_textarea :post, :content, :toolbarSet => 'Simple', :height=>"500px;" %><br/>
